package com.fortune.dto.in.cReturnDeposit;

import com.fortune.vo.cReturnDeposit.RefundDetails;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ExampleProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * Created by Administrator on 2018/5/29 0029.
 */
public class CReturnAddDepositDto {
    @NotBlank(message="经销商id不能为空")
    @ApiModelProperty(required=true, example="经销商id")
    private String did;
    @NotBlank(message="工单编号不能为空")
    @ApiModelProperty(required=true, example="工单编号")
    private String no;
    @NotBlank(message="客户ID不能为空")
    @ApiModelProperty(required=true, example="客户ID")
    private String createUser;
//    @ApiModelProperty(required=true, example="商品详情")
    private List<RefundDetails> refundDetails;

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public List<RefundDetails> getRefundDetails() {
        return refundDetails;
    }

    public void setRefundDetails(List<RefundDetails> refundDetails) {
        this.refundDetails = refundDetails;
    }

    @Override
    public String toString() {
        return "CReturnAddDepositDto{" +
                "did='" + did + '\'' +
                ", no='" + no + '\'' +
                ", createUser='" + createUser + '\'' +
                ", refundDetails=" + refundDetails +
                '}';
    }
}
